body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1.0;
}

.header {
    background-color: #4CAF50;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.settings-panel {
    width: 40%;
    max-width: 300px;
    margin-right: 20px;
}

.preview-panel {
    width: 60%;
    max-width: 600px;
}

#image-canvas {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border: 2px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.settings {
    margin: 20px auto;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.setting {
    margin-bottom: 20px;
}

.setting label {
    display: block;
    margin-bottom: 1px;
    font-weight: bold;
    color: #4CAF50;
}

.setting input[type="text"], .setting select, .setting input[type="range"], .setting input[type="color"] {
    width: 90%;
    padding: 5px;
    margin: 10px 0;
    border: 5px solid #ddd;
    border-radius: 10px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .settings-panel, .preview-panel {
        width: 100%;
        max-width: none;
        margin-right: 0;
    }
}
